Skip to content

SO2 collector: read each orbit file in a killable process - #39

Merged
ASCoding11 merged 1 commit into
mainfrom
claude/keen-tesla-shs956
Nov 20, 2026
Merged

ASCoding11 merged 1 commit into
mainfrom
claude/keen-tesla-shs956

Conversation

@ASCoding11

Copy link
Copy Markdown
Owner

The 2021 SO2 job sat idle for five hours twice (after one damaged file in May 2021) and hit its 320-minute limit, so May-Dec 2021 is still missing from the study. h5py serialises all reads behind one global lock, so one hung read in the thread pool stalled every thread; the aiohttp timeout didn't help.

Each orbit file is now read in its own forked process (24 at a time). A read still running after 10 minutes is killed and that file is skipped with a warning.

Test: test_run_isolated_kills_hung_reads (a good, a failing and a hanging fake read; the hung one is killed). The full suite passes.


Generated by Claude Code

h5py serialises reads behind one global lock, so in the thread pool a single
read that hung (2021-05, after a damaged file) stalled every thread until the
job's 320-minute limit, twice. Each file is now read in its own forked
process; one still running after 10 minutes is killed and skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NsPrq53XXinQsUZsWqeKht
@ASCoding11
ASCoding11 merged commit 704f002 into main Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants